implement store command