added basic library methods