semester bonus calculation resolves #28