create new library for use on fragment