Added section database logic