added defn methods for destructuring