action() seems to be working now. fixes #5 and references #12