missing bracket causing error