Organize code for readability