It's easy to get confused because the word "accident" is spelled with a "c", but "accidentally" uses a double "c".