updated zig methods