rearranging view structure to group related functionality