split Accept into a named function