Changed some formatting and just cleaned up the function start.