main design part 2