add negative check