removed unneeded cycle