removes debugging code and adds styling fixes