build page uses correct api