cleaned up prompt - colorizing text by a function