Added program explanation