Some more practice learning Java programming...definitely need to DRY up some of this.