samples.jsp adjusted