Second step towards objects (working single file plot)