Removed not necessary head code