1. Changed several functions that were returning int so that