configure in constructor