Some work on assigning priority, form still not working