use seq_len and seq_along in place of :