For those who want to create closure with create_function