rem redundant code