Added input code