simple ui api prototype