full codes for the course