removed redundant object assignment