added skeleton for database interaction