naked code functions work