added callbacks util that will be used in various parts of framework