testing my processing function