removed unnessary check