have the dragon and dog functions operation and echoing their names