NAIL concept with custom type