before FB intgration