whitespace
use api instead of raw array of structs