Implentation of DRY