adding register input