completed custom example