changed the concept to Key-Value-Observing and defined headers