forked repository from pocorall/scaloid