pass the arguments in render method