re-format the opening paren for functions
added parity_check based on the last set bit clearing trick