changed to public with settings