removed unused variables from member