Issue #15-Refactor code added to fix #5

This is a method. Needs parenthesis.