Working function model: No functionality for multiple condt. Output not defined