add functionality for captain to add pirates