Impliment some DRYness