modified models to take next param