changed into GetorDefault, added in test for negative conditions, added in a tertiary operator