added "addActionOnce" method