adding bit manipulation dir