implemented insertSingleEvent