removing unnecessary statement