custom nested_form added, calculate method added