bind plugin function provided, states not implemented yet