switched to sharedptr for renderer