added some features to make alignments of multiple inputs easier