create tidy dataset function added