cleaned out ElementControl's unnecessary code