Added negaive numbers check