removed prints from main thread