should we use API for such things?