renamed error_t to status_t, it makes more sense when checking the return status of calls. index now returns status_t instead of void for execute calls