removed redunant code
removed unwanted code