Organizing the code in procedures to make it easier to understande the logic