edited functionality of loadinput