Added $override to get_data function