modified private methods in protected