!= null is not necessary