change isFinished to return true instead of false