Last issue taking into account inputs