solved multiple success, refactored to variables