additional imports for postgres
added more functions and changed Stringy