Function connection

Added function connection.