 we should also try to have less duplication in desktop and chromeapp versions