my codes for the course