accepting also hashrocket syntax as parameter