add jersey functionality