moved examples into the library