framework both scenarios are working.