- implemented options for toObject
- implemented options for toObject