uplot method now works, needs to be modified