Updated with function objectives comments