install function works, added library method