added the functions collection, cleanup, image chapter