Updated makeres so that it makes use of supplied parameter
information.