drew map and made inputEngine