Implement the Store function