still debugging data formatting