checking for default object