binding to more complex objects