add gateway methods