shortened parsing input section