added some features
end of course2