feature: add conditions (#12)