changed calls to new to use {} syntax instead of ()