insertEntry method completed