* Store statements in database on save * Optimize