need to do:
*add 'x' function
*add 'd' function
*add saving options in settings