update code for go1.1, does not compile with go1.0 anymore
play around with units and msat