Make sure that this is not called concurrently. Also  I would like to know how many times is this done.