Pastable version of Separate thread logic from business logic