Some thoughts on year end tax planning