setting up the first variables of the second function loan