updated code to include readability and information