flashback support added (untested)