removed unneded code.