helper_method macro wasn't working, so added it as a duplicate helper method. FIXME