Feature/head parsing