fixed a missing brace and added my own attribution to the header