added new mem variables