add documentation for init and feature