adding missing ; and removing parts of code