function bookingManager($bookingData = array())
{
    try {
        $bookingManager = BookingManager::getInstance();
        $bookingManager->setBookingData($bookingData);
        return $bookingManager;
    } catch (Exception $e) {
        print "<strong>The BookingManager plugin threw an error</strong><br>" . $e->getMessage();
    }
}