add pet... fixeted try-catch it DBWriter.java