Added simple callback implementation