Deadlock, It has errors that I need to fix once added