Fixed identifiers
Added solution to task 4