Clarified structure and added escaping

If-then-else structures to guards. Escaping using backslashes.