Plot function included