removed not needed check