added cases for special outcomes
used guards