starting to transfer to postgresql