removing now redundtant code from Lib