Printing remaining time
Encoding data before writing into BStore