Almost completed the error track sample