added ways generator
modified ways reuires