removed roughed in api functions