add fb and sb functionality