Add Inn function