updated accommodations function to reflect changes to form