Added fraction calculation mechanics.