wip attempt to mimic sketch api