Removed unusued code block