fixes & added explanations