added settings() and phtml()