Added data sample construction code