first pass at capture logic ... not workin yet