redirecting to python class