add settings functionality