shortened binary implementation