semicolon bug corrected