Before performing position optimization. Still has compile errors