deprecation not working
reorder api functions