before trying to pass tables for GetDetails