added a prototype to engine