need to try empty? in case of nils