if you want to make this reusable and you forsee having more parameters later, you might want to consider specifying a hash for the optional parameters
also, this can only draw a horizontal line, might want to specify that in the method name