making it test worthy