adding more vars, almost ready to start the actual math part