Most of time api functions implemented