There is an excess of empty lines in this last bit of code