using dictionary to eval functionality of advanced blocks