public void addTask(Task task){
		StringBuilder update = new StringBuilder("insert into tasks(reporter,assignee,`status`,description,priority,`completion`,start_date,deadline,title) values(");
		if(task.getReporter()!=null && task.getReporter().getUserName()!=null) 
			update.append("\""+task.getReporter().getUserName()+"\",");
		else update.append("\"\",");
		if(task.getAssignee()!=null && task.getAssignee().getUserName()!=null) 
			update.append("\""+task.getAssignee().getUserName()+"\",");
		else update.append("\"\",");
		if(task.getStatus()!=null && task.getStatus().getStatusName()!=null) 
			update.append("\""+task.getStatus().getStatusName()+"\",");
		else update.append("\"\",");
		if(task.getDescription()!=null) 
			update.append("\""+task.getDescription()+"\",");
		else update.append("\"\",");
		
		update.append(""+task.getPriority()+",");
		update.append(""+task.getCompletionPercent()+",");

		SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd-hh.mm.ss",java.util.Locale.getDefault());
		String date;
		if(task.getStartDate()!=null){
			date = formatter.format(task.getStartDate().getTime());
			update.append("\""+date+"\",");
		}
		else update.append("\"\",");
		if(task.getDeadLine()!=null) {
			date = formatter.format(task.getDeadLine().getTime());
			update.append("\""+date+"\",");
		}
		else update.append("\"\",");
		update.append("\""+task.getTitle()+"\")");
		System.out.println(update);
		execUpdate(update.toString());
	}