removed unnecessary for cycle