parsing a bit