added G test/functionality
added spf code to webservice