Struct for simple api