add struct for params in addressof