add fallback if object.create is not supported