minimal functioning api