updates to RAPage.java