is connected to DB method