getting a reference to a named sub now works