added poly editing and changed state to IA