Modifications to gcoder; not fully functional yet