added some functions to shop block