implementing helper portion of shoppane