generate model, change routing; not functioning