Added some simplifications and better examples