removed unecessary use of collections