removed unwanted code block