phiotmrc returns a double. Logic changed accordingly