fixed and testing negative numbers