adding head request implementation