change name of function to get8bits