code tested and working.

Tried every combination.