This is old code we just moved it to AMD module