Update to use interface values
Merge pull request #9 from PreetamJinka/issues/7

Update to use interface values