included print liveness function in main
included print liveness function in main