Consider using trazodone  if you're having insomnia.