Return null instead of throwing exception