Modified for puklse sequence