refactor hardcoded bit