moving configuration to attributes