removed doubled variable instantiation