now a copy that builds, don't know if it works though