Changed back to typeof instead of isFun