precise callback mapping via unique ids, thanks go to @nicholasbs