added legacy support for way generator call