updated for just pugmode