cleaned up and made results more readable