change 4

deleting unnecessarily code after a lot of checks.
writing comments.