First try. Might work, but no plotting