Some work on preparing data