added support for select, selectRange and selectMonth