(trivial) (refactoring) wrap into function