stock call back code