Added pause functionality - half working