private static String searchEvent(String inputCommand) {
		String keyword = getParameter(inputCommand);
		if (keyword == null)
			return MESSAGE_INVALID_CMD;
		ArrayList<String> searchResults = new ArrayList<String>();
		Iterator<String> eventIter = events.iterator();
		while (eventIter.hasNext()) {
			String currentEvent = eventIter.next();
			if (currentEvent.contains(keyword)) {
				searchResults.add(currentEvent);
			}
		}
		if (searchResults.isEmpty())
			return MESSAGE_INVALID_EVENT;
		else
			return writeToString(searchResults);
	}