thread methods skeleton implementation