once I get the logic to determine when it continues running I think it may finally be in a working state