fixed adjust-length-when-adjust-indices, added checkinputs. ready to roll