yeah really need to delegate this somewhere other than bash