converted types to data, added functions to atPath