expose set state method
add manual loading