get from cursor