Added negNum and posNum checks