corrected the mistakes/commands and added a comment at the beginning