moved here from SocialGame repo.