get rid of deprecated {} syntax