added GA, sql edits