added draw chart method to course add