added bracket where necessary