finished todo sample