sublis function works, tested