starting code for cluster test. need main file debuggin and seveal other parts of the code