add error checking
change depends field
other commits