adding id part checks to bin io