implemented balance action