change name variable to instance variable
move requires to require_relative