deleted Booot function, add the code to anonimous function