Understanding static electricity