removed dual code functions because they are in an extra repo now