saple_app3 EXTENDED WORKING