Demo and library working