removing unnecessary steps