add init() method for self-initialization if needed