using method in Closure