Added views allocation inside the root element