laid out cleaned up logic. Added results.erb