removed attribute and memberenter. not needed.