not sure if there's better way to make hex possible