Added pausing and changed comments