removing PG dependency