basic plot functions added