added pause and resume
add new bits