moved methods to callbacks module