corrected pink() function