Added setSource to partially for debugging