big update on API. add FS call.