use new functions in example spec