added support for view options