minor code deletions