copied from class directory