added bib, fixed some brackets