connection class formatted