rewording
changed the order
rough implemented getting column names from cursor