modify for a while