minor changes to better facilitate model learning algorithms