basic TLM solver