using isfinished attribute instead of status