implemented callbacks test