implemented pop menu