added stackname button function