better way to check process status
add some specs
version 0.0.4