Modified main.xml