the code was hanging somehow...