got library attribute working