adding load callback support