removed unwanted code