Parent and teacher: How to seamlessly play both roles