add status save and restore
travis