execute inputs in order