used class instance variable for postgres concern