bind multiple attributes at once