use Service API
check for return value
Merge pull request #12 from jsuchome/master

use Service API