Changed main() to full form