created code for store, destroy, and options methods