added support for data accessing