forgot to convert list from class to data-type