Thank you everyone. Sorry for wasting your time. I totally fogot i had used a reentry permit and took a look at my passport and thought my tourist visa was running out!
ahh yes i did use a reentry permit - i was on a 60 day tourist visa - i entered Thailand on 25th September. So does that mean i can still extend for 30 days which will give me enough time before I leave on the 8th December?