update readme, removed unused variables