first few natives implemented in Go instead of JS