attempted nested bel functions and statements