add new fns and basic+logic=pascal test