removal of unecessary check