couple functions decompiled