Eliminated nil check and used more idiomatic zero? method