added FB functioality