added some button outlets and some formatting code