turn addtional functions into reactive statements