developed basic header behaviour