starting to write calculate signal