works, but the plots look funny