lines with protected and private were put in the comments; line with public was added