updated routes to accept more than two entries in array - they are passed as args to the method