!= -1 instead of false