Made all callbacks working