added my version of the application for finishing the course