implementing struts