editing stage.java to allow for archiving feature