removed useless statements