Working on fb functionality