replaced semicolon with comma and added some curly braces (not really necessary but does not hurt)