Updated new() and fixed semi-colon error