defining config