connect class part 1