Moved getDescription function to main file.