creating api hack