bind model for complex elements