adjusted coding format for pep8 & added a option about keep timestamp