Renamed and removed extra line. Not creating a third function for now. May do that in the future.