add let to spec
change db to postgresql