removed unnecessary testing code