added bracket reading