separated layout and idnex for app2