• There are several errors in the code as presented. Please clean your code before you publish it.