Reverts back to if statement format due to bug. xD.