Changed main to accept target and player