returning rows from 3pg run function