Added forms and graphics code