Adding some information to getData function.