added skeleton sql methods