change assment name as type while reading from db and calling turnitintoll orginal function to add instance