added negative numbers