refactored code for a better look and changed content from nasa to TED