finished math operations, started logic stuff