adding Element class