added selectfirstrow option. not yet working