Added template Rectangle structure