removing unnecessary work