implementation for zeros,ones and twos