this can be added to the if statement on 77