add check guard before creating instance