[Pebbles 007] calculator line calculation