added mean stack