added settings functionality