simple struts implementation