updated for tidesdk