fixing up API things