reduce nullchecks