refactored to add usage measurement
removed dependency from FB SDK