added core plot framework