following along with video3; manual construction of post resource