removed unnecessary tests and code