edited Position and Engine class