use better is object check