added checking for duplicate proxys
added time calculations