'ready' event has to be emmited first (for the moment)