tested automatic updating
added head information