What is the signature of the getAcc() function? Should be
pretty straightforward to resolve number of arg mismatch. Sometimes
this can come up if an event handler function is called, because
often you don't pass any args, the event object is passed by
default. In that case you might need a wrapper function or to
change the logic a bit.