minimalistic api for logic