simplifies the math for the action panes