made loop slightly more interesting