Can this be combined with param == null || check up top?