working on overwriting callback