minor changes made by jorge