moved wta code