changed to isinf