updated to test if negative