How to use parent mode