public ArrayList<Type> initiateTypeList(Connection conn) throws SQLException {
        int typeID;
        String typeName;

        ArrayList<Type> typeList = new ArrayList<>();

        CallableStatement cs = null;
        cs = conn.prepareCall("{call getTypes}");
        ResultSet rs = cs.executeQuery();

        while (rs.next()) {
            typeID = rs.getInt("typeID");
            typeName = rs.getString("typeName");
            Type type = new Type(typeID, typeName);
            typeList.add(type);

        }
        return typeList;
    }