modified gii, added library module