Workong on adding a revised version of the getData