Adding :selected condition, Logging complete params var