added "short" helper class to adjust input length