making actions generic