use gateway data object instead of ID