added pen class
added idioms