db commands and shit