renamed variables and added comments for insert_number parameters