removing unnecessary pass