added small mode