add bug, fixes wrong formatting of code