renamed fb controller function