Using UserData code from external dedicate lib