Using pointer() in actions