Details added to the code