Reverted 2pt function calculator to serial