adding missing semicolon
modularizing