display gates from DB