Adds return values to protected functions
Merge pull request #8 from hobnob/features/returnamends

Adds return values to protected functions