Mixing by overshooting and rotation in intermediate mass stars