some sqlite integration done