Improved the code, thanks Josh (BloodFuryGuard)!