added sample data pointer