pos_v0.2 rewrite add methods to inputs and inputs grouping