need to work on psql append now