revised to version files in lib