configuration is moved from xml to class