added new functions and added consideraton of htt-status