removed unnecessary commands and comments