remade as a postgres app