compat 5.2
handling single dispatch