Going to use a method from main code