Created new functions and variables in datarow.h, and will update datarow.cpp later