added skeleton code for threads