completing MyApi Class