made __invoke method as a call manager