video 29 & 30: putting in the OpenConnection and CloseConnection