made some changes to computer class based on tests