changed home directory, added date segmentation