fixed output to dtf from sell, declared variable lengths in data.h