fix code (.blank? should be .empty?)