unfinished package sync code
proof of concept