minor changes, added hints