removed unecessary lib and def