better head detection
b