integrating sqlite ... not working yet.