removed unnecessary object cloning