latest code from class