makes it work even if not using Rails