Add functions that are not written in Go