Tharindu assignment code