newly working autogeneration abstraction, laravel generation works, node doesnt