Appears to work, but stalls at end.