removed unecessary stuff for libs