first pass at sdk 2.0
workaround for fb hack