added some better output