removed pg dependency