workaround for ifort - should just use F95