Tested in emulator. Seems to work...