Removed old postThread-function