Making Elements declaration out of the class