Finished code for pc specs function