A new framework that could simplify imitation learning in robotics