Final Base Code Used in presentation