move main
resolving issues with main