removed unnecessary repetition