A very messy implementation of enrollment...