document rising/falling edges, add images