add method to set storage