changed fb implementation

to be continued...