added some convenient functions and options