explanation on code
vendor lib stuff