debug range and correct missing options guard
add JSON.create function