First working formula for stackless