Code for ELEC351 coursework

no such method: tip