created smw forms and templates, worked on logic for rows