Updated defnitions and added examples