finish of class