answer method added