implemented first attempt at nested resources