modifications completed of ualib