code was broken before adding the require_relative