code cleanup
code cleanup
Lambda thread is working