Trying with native api
Added sleep periods