added parallel functionality