added spatial_stan with edits