add ctypto functions