Gate database method added