Coding best practices

Added underscore to protected variable names