Look at using keys and also ditto on .nil? comment below.