Added debugging and style guide