change func name  which returns handler function