primative work on library class