can directly capture variables