removed unnessecary check