connection API added