facebook needs rewrite