cleaned up vars and explanations.