more labeling and orgainizing code to be more readable