main.xml added, please connect with controller