consolidate get functions into one parent one