ws inside of foreach, if, and empty params here.