might be better to convert this to a guard clause instead.