rmove redundance code