Investors & landlords

thank you for the excellent speedy reply! just so i am clear, is the $3000 max AFTER considering all interest income and dividends, or before?  If for example, i have $15000 in interest income, can i reduce it down to $2000 or only down to $12000?  thanks again