first attempt at filtering code\n probably needs to happen in server script