Refactored out get_forms