use one syntax for all sync callbacks