Added pause functionality and some testing code