bitpos command implementation