Added more functionality to the bin