fixed code formatting
removed debug code
fixed grammatics to be consistent with other methods