adding homeworks from james