Add contants file & function to check type connection