Method generate_computer_entry refactored