Add function for schools db