move processing to toleo library