public String[] getAllTags(){
		if(countOfTags() == tagList.length) return tagList;
		
		LinkedList<String> list = new LinkedList<>();
		try {
			PreparedStatement statement = connection.prepareStatement(GET_ALL_TAGS);
			ResultSet set = statement.executeQuery();
			while(set.next()){
				list.add(set.getString("name"));
			}
		} catch (SQLException e) {			
			e.printStackTrace();
			return null;
		}
		
		return list.toArray(tagList);
	}