Remove main function