plots obtained, could improve on masterbeta and write shell