set constants for state initial and completed in process
fix wrong use statement
Merge pull request #20 from cordoval/master

set constants for state initial and completed in process