working product on localhost. there will be some trickiness when going to VM. also, need to add error checking