minor changes, removed pause