added require of objspace