trying to get fucking sqlite sorted