updated to use atom form in render call