prepared for database