Updated desctiption

Improved the description by adding a more detailed general description.
Added a switch-function description.