Tutorial code added