refactor/reformat in rckt_man