auto configuration part 1