Another possible optimization