Why protected? I thought in the end there was not going to be inheritance here. Also, we normally write public methods, private methods, then attributes, etc in that order inside the classes.