 Schools were supported by a combination of kirk funds, contributions from local heritors or burgh councils and parents that could pay.They were inspected by kirk sessions, who checked for the quality of teaching and doctrinal purity.There were also large number of unregulated "adventure schools", which sometimes fulfilled a local need and sometimes took pupils away from the official schools.