public boolean createPost (String email, String content, int is_status, long date_added){
		if (!(is_status == 0 || is_status ==1)){
			return false;
		}
		
		/*****************************/
		/*****************************/
		/******** CACHE CHECK ********/
		/*****************************/
		/*****************************/
		CacheKey subKey = new CacheKey(email, false);
		CacheKey friendKey = new CacheKey(email, true);
		
		ArrayList<Post> subCache = null;
		ArrayList<Post> friendCache = null;
		
		if(is_status == 0) {
			subCache = cache.get(subKey);
		}
		
		friendCache = cache.get(friendKey);
			
		/*****************************/
		/*****************************/
		/****** END CACHE CHECK ******/
		/*****************************/
		/*****************************/
		
		PreparedStatement ps;
		String statement = "INSERT INTO " + Constants.POSTS_TABLE + " (email, content, is_status, date_added) VALUES (?, ?, ?, ?);";
		try{
			ps = conn.prepareStatement(statement);
			ps.setString(1, email);
			ps.setString(2, content);
			ps.setInt(3, is_status);
			ps.setLong(4, date_added);
			ps.executeUpdate();
		} catch(SQLException e){
			e.printStackTrace();
			return false;
		}
		
		Post newPost = new Post(email, content, is_status, date_added);
		
		/*****************************/
		/*****************************/
		/******* CACHE UPDATE ********/
		/*****************************/
		/*****************************/
		//update subscription aspect of cache
		
		if(is_status == 0) {
			//case where there was no entry to begin with
			if(subCache == null) {
				ArrayList<Post> store = new ArrayList<Post>();
				store.add(newPost);
				cache.put(subKey, store);
			}
			
			//otherwise, modify existing array list
			else {
				//if the list already has 10 elements,
				// then remove the last element
				if(subCache.size() == Constants.MAX_POSTS) {
					subCache.remove(Constants.MAX_POSTS-1);
				}
				
				//add the new element to the front of the list
				subCache.add(0,newPost);
				cache.put(subKey, subCache);
			}
		}
		
		//update friend aspect of cache			
		
		//case where there was no entry to begin with
		if(friendCache == null) {
			ArrayList<Post> store = new ArrayList<Post>();
			store.add(newPost);
			cache.put(friendKey, store);
		}
		
		//otherwise, modify existing array list
		else {
			//if the list already has 10 elements,
			// then remove the last element
			if(friendCache.size() == Constants.MAX_POSTS) {
				friendCache.remove(Constants.MAX_POSTS-1);
			}
			
			//add the new element to the front of the list
			friendCache.add(0,newPost);
			cache.put(friendKey, friendCache);
		}
		
		/*****************************/
		/*****************************/
		/***** END CACHE UPDATE ******/
		/*****************************/
		/*****************************/
		
		return true;
	}