add store function to print results block