added new details and fixed errors