minor changes to regression