stupid trial calculations