adjusting callbacks storage method