Nest the unless inside the function.