adding mean stack