partially simplified operation api.