fixed syntactical errors and made all returns of scanInRange faux objects