moved callback to one line