Updated Main function