stupid threading; required for project, will be removed presently