created gateway interface